<?php
error_reporting(E_ERROR);
$qid = "ereg";

include "flag.php";

$a = $_GET['a'];
//var_dump(ereg('yang',$a));

if(!ereg('yang',$a) && strpos($a,'yang')>0 ){
    echo $flag;
}else{
    show_source(__FILE__);
} 

?>